#ifndef QTCPFILETRANSFER_H
#define QTCPFILETRANSFER_H

#include <QWidget>
#include <QTcpServer>
#include <QTcpSocket>
#include <QDebug>
#include <QFile>
#include <QFileDialog>
#include <QFile>
#include <QThread>
#include <QFileInfo>
#include <QByteArray>
namespace Ui {
class QTcpFileTransfer;
}

class QTcpFileTransfer : public QWidget
{
    Q_OBJECT

public:
    explicit QTcpFileTransfer(QWidget *parent = nullptr);
    ~QTcpFileTransfer();

private slots:
    void on_SelectFileButton_clicked();

    void on_StartTransferButton_clicked();

private:
    Ui::QTcpFileTransfer *ui;

    QTcpServer* qTcpServer;
    QTcpSocket* qTcpSocket;

};

#endif // QTCPFILETRANSFER_H
